import csv


def parse_trace(trace_path):
    # 打开 CSV 文件
    with open(trace_path, mode='r') as file:
        # 创建 CSV 文件读取器
        csv_reader = csv.reader(file)

        # 逐行读取 CSV 文件
        for row in csv_reader:
            print(row)
            break


if __name__ == '__main__':
    while True:
        trace_path = r'E:\01文档\00仿真项目\长安大学\实车场景计划\REPLAY_0_mixed_952_32_1_result.csv'
        parse_trace(trace_path)
